Choose output or numerator and denominator before sweep